<?php 
/**
 * [PHPFOX_HEADER]
 * 
 * @copyright		[PHPFOX_COPYRIGHT]
 * @author  		Raymond Benc
 * @package  		Module_Friend
 * @version 		$Id: small.html.php 4856 2012-10-09 05:58:26Z Raymond_Benc $
 */
 
defined('PHPFOX') or exit('NO DICE!'); 

?>
{if $aUser.user_id == Phpfox::getUserId()}

{if count($aFriends) > 0 }
<ul class="block_listing">
{foreach from=$aFriends key=iKey name=friend item=aFriendBlock}
	<li style="float:left;">
		<div class="block_listing_image" id="js_user_name_link_{$aFriendBlock.user_name}">
			{img user=$aFriendBlock suffix='_50_square' max_width=32 max_height=32}
		</div>		
	</li>
{/foreach}
</ul>
{if count($aFriends) > 48}
<div class="view_all">
    <a href="#">View All</a>
</div>
{/if}
{else}
    No Friends
{/if}
<div class="clear"></div>

{else}
{template file='friend.block.profile.mayyouknow'}
{/if}